package cn.iocoder.yudao.module.iot.convert.devicedataupload;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.iot.controller.admin.devicedataupload.vo.*;
import cn.iocoder.yudao.module.iot.dal.dataobject.devicedataupload.DeviceDataUploadDO;

/**
 * 物联网设备上报数据记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface DeviceDataUploadConvert {

    DeviceDataUploadConvert INSTANCE = Mappers.getMapper(DeviceDataUploadConvert.class);

    DeviceDataUploadDO convert(DeviceDataUploadCreateReqVO bean);

    DeviceDataUploadDO convert(DeviceDataUploadUpdateReqVO bean);

    DeviceDataUploadRespVO convert(DeviceDataUploadDO bean);

    List<DeviceDataUploadRespVO> convertList(List<DeviceDataUploadDO> list);

    PageResult<DeviceDataUploadRespVO> convertPage(PageResult<DeviceDataUploadDO> page);

    List<DeviceDataUploadExcelVO> convertList02(List<DeviceDataUploadDO> list);

}
